home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / ARMTEX / ALPHA / DVIPS / !dvips / !Run < prev    next >
Text File  |  1995-01-27  |  2KB  |  59 lines

  1. |———————————————————————————————————————————————————————————————————————————
  2. |
  3. | The !Run file for David Bryan's port of dvips 5.55 [Arc 1.3] to work with
  4. | Mark Sinke's armTeX 3.141, and specifically Robin Watts' distribution.
  5. |
  6. |———————————————————————————————————————————————————————————————————————————
  7.  
  8.  
  9. | Load the icons.
  10.  
  11. IconSprites <Obey$Dir>.!Sprites
  12.  
  13.  
  14. | Set file types.
  15.  
  16. Set File$Type_2AD VF
  17.  
  18.  
  19. | Check to see if we can get all the files we might need.
  20.  
  21. If "<System$Path>" = ""   Then Error 0 System resources cannot be found
  22. If "<TeX$Dir>" = ""       Then Error Make sure !TeX has been seen before you use !dvips.
  23. If "<TeXFonts$Path>" = "" Then Error Make sure !TeXFonts has been seen before you use !dvips.
  24.  
  25.  
  26. | Set environment variables for paths.
  27.  
  28. Set dvips$Dir <Obey$Dir>
  29.  
  30. Set TeXFonts$Cache   <dvips$Dir>.Fonts.Cache
  31. Set dvipsFonts$Path  <TeXFonts$Cache>.
  32. Set dvipsHeader$Path <dvips$Dir>.Resources.
  33. Set dvips$Path       <dvips$Dir>.Resources.
  34.  
  35.  
  36. | Set environment variables for aliases.
  37.  
  38. Set Alias$afm2tfm    "Run <dvips$Dir>.Library.afm2tfm "
  39. Set Alias$dvips      "Run <dvips$Dir>.Library.dvips "
  40. Set Alias$MakePKs    "Run <dvips$Dir>.Library.MakePKs "
  41. Set Alias$MakeTeXPK  "Run <dvips$Dir>.Library.MakeTeXPK "
  42.  
  43.  
  44. | Organize a front end...
  45.  
  46. WimpSlot -Min 128k -Max 128k
  47. RMEnsure FrontEnd   0    System:modules.frontend
  48. RMEnsure Frontend   1.13 Error You need version 1.13 of the FrontEnd module to run !dvips
  49. RMEnsure TaskWindow 0    System:modules.task
  50. RMEnsure TaskWindow 0.29 Error You need version 0.29 of the TaskWindow module to run !dvips
  51. RMEnsure DDEUtils   0    System:modules.ddeutils
  52. RMEnsure DDEUtils   1.50 Error You need version 1.50 of the DDEUtils module to run !dvips
  53. WimpSlot -Min 32k -Max 32k
  54.  
  55.  
  56. | ...and away we go...
  57.  
  58. FrontEnd_Start -app dvips -desc <dvips$Dir>.Desc
  59.